<script>
	$(document).ready(function() {
		if(typeof sessionStorage["admin_user_id"]!='undefined'){
			var user_id = JSON.parse(sessionStorage["admin_user_id"]);
			var email = JSON.parse(sessionStorage["admin_email"]);
			var phone = JSON.parse(sessionStorage["admin_phone"]);
			var location = JSON.parse(sessionStorage["admin_location"]);
			$('#headding').html('<div class="text_l top_strip_left_text"><span id="updateLocation" name="updateLocation" >'+location+'</span><span id="updatePhone" name="updatePhone" >Ph:&nbsp;'+phone+'</span><span>Email:&nbsp;'+email+'</div><div class="text_r top_strip_right_text"><span>Welcome to medicart</span><span id="myaccounthid"><a href="account.html">My Account</a></span><span id="loginLogout"><a href="index.html">Login</a></span></div>');
			$('#loginLogout').html('<a href="javascript:void(0);" onclick="logoutFunction()">Logout</a>');
			$.ajax({
			type		:	'GET',
			url			:  	webServiceUrl+'notifications/'+'5'+'-'+user_id,
			dataType	: 	"json",
			success: function(data){
				if(data.value==1){
					$('#count').html(data.count);
				}
			}
			});
			$('#myaccounthid').show();
			//$('#registerhid').hide();
		}else{
			$('#myaccounthid').hide();
			//$('#registerhid').show();
		}
		var url = window.location.pathname,
		urlRegExp = new RegExp(url.replace(/\/$/,'') + "$");
		$('#menuactive ul li a').each(function(){
		   if(urlRegExp.test(this.href.replace(/\/$/,''))){
				$(this).addClass('arrow_left');
		   }
		});
	});
</script>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>SREED MEDICART YOUR HEALTH PATTNER</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Le styles -->
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="../assets/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
	<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
	<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
	<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
	<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
	<link rel="shortcut icon" href="../assets/ico/favicon.png">
  </head>
  <div class="top_bg">
		<div class="container-fluid">
		  <div class="row-fluid">
			<div class="container_plr">
				<div id="headding" class="row_text_lr">
					<div class="text_r top_strip_right_text">
						<span>Welcome to medicart</span>
						<span id="myaccounthid"><a href="account.html">My Account</a></span>
						<span id="loginLogout"><a href="index.html">Login</a></span>
						<!--<span id="registerhid"><a href="register.html">Register</a></span>-->
					</div>
				</div>
			</div>
		  </div>
		</div>
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="main_bg">
				<div class="container_plr">
					<div class="pos_relative">
						<div class="row_text_lr">
							<div class="text_l logo">
								<img src="images/newmcartlogo.png"/>
							</div>
							<div class="pos_absolute">
							<div class="text_r main_menu">
								<ul>
									<li><a href="#">Home</a></li>
									<li><a href="#">About Us</a></li>
									<li><a href="#">Contact us</a></li>
									<li><a href="#">Faq's</a></li>
								</ul>
							</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<form style="display:none" name="paginationoptions">
			<p><label for="items_per_page">Number of items per page</label><input type="text" value="5" name="items_per_page" id="items_per_page" class="numeric"/></p>
			<p><label for="num_display_entries">Number of pagination links shown</label><input type="text" value="4" name="num_display_entries" id="num_display_entries" class="numeric"/></p>
			<p><label for="num">Number of start and end points</label><input type="text" value="2" name="num_edge_entries" id="num_edge_entries" class="numeric"/></p>
			<p><label for="prev_text">"Previous" label</label><input type="text" value="Prev" name="prev_text" id="prev_text"/></p>
			<p><label for="next_text">"Next" label</label><input type="text" value="Next" name="next_text" id="next_text"/></p>
			<input type="button" id="setoptions" value="Set options" />
	</form>